home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / Bowers Development / AppMaker 2.1.sit / AppMaker 2.1 / Examples / Java / AMReminder / RectPanel.java < prev   
MacBinary  |  1996-06-12  |  1.4 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Jun 12 09:49:22 1996, modified Wed Jun 12 09:49:22 1996, creator 'CWIE', type ASCII, 722 bytes "RectPanel.java" , at 0x352 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 52 65 63 74 50 61 | 6e 65 6c 2e 6a 61 76 61 |..RectPa|nel.java|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 02 d2 00 | 00 01 9a ad e4 7b 62 ad |........|.....{b.|
|00000060| e4 7b 62 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.{b.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 97 56 00 00 |........|.....V..|
|00000080| 2f 2f 20 61 20 73 69 6d | 70 6c 65 20 70 61 6e 65 |// a sim|ple pane|
|00000090| 6c 20 74 68 61 74 20 64 | 72 61 77 73 20 61 20 72 |l that d|raws a r|
|000000a0| 65 63 74 61 6e 67 6c 65 | 0d 0d 69 6d 70 6f 72 74 |ectangle|..import|
|000000b0| 20 6a 61 76 61 2e 61 77 | 74 2e 50 61 6e 65 6c 3b | java.aw|t.Panel;|
|000000c0| 0d 69 6d 70 6f 72 74 20 | 6a 61 76 61 2e 61 77 74 |.import |java.awt|
|000000d0| 2e 43 6f 6c 6f 72 3b 0d | 69 6d 70 6f 72 74 20 6a |.Color;.|import j|
|000000e0| 61 76 61 2e 61 77 74 2e | 47 72 61 70 68 69 63 73 |ava.awt.|Graphics|
|000000f0| 3b 0d 69 6d 70 6f 72 74 | 20 6a 61 76 61 2e 61 77 |;.import| java.aw|
|00000100| 74 2e 49 6e 73 65 74 73 | 3b 0d 69 6d 70 6f 72 74 |t.Insets|;.import|
|00000110| 20 6a 61 76 61 2e 61 77 | 74 2e 52 65 63 74 61 6e | java.aw|t.Rectan|
|00000120| 67 6c 65 3b 0d 0d 70 75 | 62 6c 69 63 20 63 6c 61 |gle;..pu|blic cla|
|00000130| 73 73 20 52 65 63 74 50 | 61 6e 65 6c 20 65 78 74 |ss RectP|anel ext|
|00000140| 65 6e 64 73 20 50 61 6e | 65 6c 0d 7b 0d 09 70 75 |ends Pan|el.{..pu|
|00000150| 62 6c 69 63 20 76 6f 69 | 64 20 70 61 69 6e 74 20 |blic voi|d paint |
|00000160| 28 47 72 61 70 68 69 63 | 73 20 67 29 0d 09 7b 0d |(Graphic|s g)..{.|
|00000170| 09 09 69 6e 74 20 78 2c | 20 79 2c 20 77 69 64 74 |..int x,| y, widt|
|00000180| 68 2c 20 68 65 69 67 68 | 74 3b 0d 09 09 52 65 63 |h, heigh|t;...Rec|
|00000190| 74 61 6e 67 6c 65 20 72 | 20 3d 20 74 68 69 73 2e |tangle r| = this.|
|000001a0| 62 6f 75 6e 64 73 28 29 | 3b 0d 09 09 0d 09 09 78 |bounds()|;......x|
|000001b0| 20 3d 20 31 3b 0d 09 09 | 79 20 3d 20 31 3b 0d 09 | = 1;...|y = 1;..|
|000001c0| 09 77 69 64 74 68 20 3d | 20 72 2e 77 69 64 74 68 |.width =| r.width|
|000001d0| 20 2d 20 33 3b 0d 09 09 | 68 65 69 67 68 74 20 3d | - 3;...|height =|
|000001e0| 20 72 2e 68 65 69 67 68 | 74 20 2d 20 32 3b 0d 09 | r.heigh|t - 2;..|
|000001f0| 09 0d 09 09 43 6f 6c 6f | 72 20 6f 6c 64 43 6f 6c |....Colo|r oldCol|
|00000200| 6f 72 20 3d 20 67 2e 67 | 65 74 43 6f 6c 6f 72 28 |or = g.g|etColor(|
|00000210| 29 3b 0d 09 09 0d 09 09 | 43 6f 6c 6f 72 20 63 20 |);......|Color c |
|00000220| 3d 20 43 6f 6c 6f 72 2e | 6c 69 67 68 74 47 72 61 |= Color.|lightGra|
|00000230| 79 3b 0d 09 09 43 6f 6c | 6f 72 20 62 72 69 67 68 |y;...Col|or brigh|
|00000240| 74 65 72 20 3d 20 63 2e | 62 72 69 67 68 74 65 72 |ter = c.|brighter|
|00000250| 28 29 3b 0d 09 09 43 6f | 6c 6f 72 20 64 61 72 6b |();...Co|lor dark|
|00000260| 65 72 20 3d 20 63 2e 64 | 61 72 6b 65 72 28 29 3b |er = c.d|arker();|
|00000270| 0d 09 09 0d 09 09 67 2e | 73 65 74 43 6f 6c 6f 72 |......g.|setColor|
|00000280| 28 64 61 72 6b 65 72 29 | 3b 0d 09 09 67 2e 64 72 |(darker)|;...g.dr|
|00000290| 61 77 52 65 63 74 28 78 | 2c 20 79 2c 20 77 69 64 |awRect(x|, y, wid|
|000002a0| 74 68 2c 20 68 65 69 67 | 68 74 29 3b 0d 09 09 67 |th, heig|ht);...g|
|000002b0| 2e 73 65 74 43 6f 6c 6f | 72 28 62 72 69 67 68 74 |.setColo|r(bright|
|000002c0| 65 72 29 3b 0d 09 09 67 | 2e 64 72 61 77 52 65 63 |er);...g|.drawRec|
|000002d0| 74 28 78 20 2b 20 31 2c | 20 79 20 2b 20 31 2c 20 |t(x + 1,| y + 1, |
|000002e0| 77 69 64 74 68 2c 20 68 | 65 69 67 68 74 29 3b 0d |width, h|eight);.|
|000002f0| 09 09 0d 09 09 67 2e 73 | 65 74 43 6f 6c 6f 72 28 |.....g.s|etColor(|
|00000300| 6f 6c 64 43 6f 6c 6f 72 | 29 3b 0d 09 7d 0d 09 0d |oldColor|);..}...|
|00000310| 09 70 75 62 6c 69 63 20 | 49 6e 73 65 74 73 20 69 |.public |Insets i|
|00000320| 6e 73 65 74 73 28 29 0d | 09 7b 0d 09 09 72 65 74 |nsets().|.{...ret|
|00000330| 75 72 6e 20 6e 65 77 20 | 49 6e 73 65 74 73 20 28 |urn new |Insets (|
|00000340| 32 2c 20 32 2c 20 32 2c | 20 32 29 3b 0d 09 7d 0d |2, 2, 2,| 2);..}.|
|00000350| 7d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |}.......|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000390| 00 01 3b 4e 0c 41 64 6f | 72 6e 65 72 2e 6a 61 76 |..;N.Ado|rner.jav|
|000003a0| 61 72 02 00 02 00 54 45 | 58 54 52 73 74 72 01 00 |ar....TE|XTRstr..|
|000003b0| 0e 52 65 63 74 50 61 6e | 65 6c 2e 6a 61 76 61 6c |.RectPan|el.javal|
|000003c0| 02 00 00 00 54 45 58 54 | 43 57 49 45 00 00 c7 7f |....TEXT|CWIE....|
|000003d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 c7 7f c0 b6 |..TEXTCW|IE......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 ad e4 40 8a 00 00 | 02 d2 00 00 01 9a 00 00 |....@...|........|
|00000400| 00 00 00 00 00 00 00 00 | 1b 00 00 01 3b 4e 15 54 |........|....;N.T|
|00000410| 68 72 65 65 44 46 72 61 | 6d 65 52 65 63 74 2e 63 |hreeDFra|meRect.c|
|00000420| 6c 61 73 73 02 00 02 00 | 43 6c 73 73 52 73 74 72 |lass....|ClssRstr|
|00000430| 01 00 ff ff ff ff 00 00 | 00 01 3b 53 00 00 00 00 |........|..;S....|
|00000440| 06 5f 00 00 20 00 00 00 | 00 00 00 00 00 00 00 00 |._.. ...|........|
|00000450| ad a8 07 4f ad a8 07 4f | 00 00 00 00 00 00 00 00 |...O...O|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 1e 1d |........|........|
|00000470| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 03 | 00 04 00 b6 00 0d 02 56 |........|.......V|
|000004b0| 01 db 00 b6 00 0d 02 56 | 01 db ad e4 46 4a 00 00 |.......V|....FJ..|
|000004c0| 00 a3 00 00 00 a3 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000004d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000004e0| 00 00 00 46 01 71 a3 c0 | 0f 10 00 00 00 1c 00 46 |...F.q..|.......F|
|000004f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000500| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000510| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+